package com.itheima_6.heima_;

public class Girl extends Thread {
    @Override
    public void run() {
        while (true){
            synchronized (Money.object){
                if(Money.money!=100000){
                    System.out.println("结婚基金不是十万了");
                    break;
                }
            }
        }

    }
}
